package stu.sup.dto;

import stu.sup.entity.Product;
import stu.sup.entity.UserLogin;

import java.util.Date;

/**
 * Created by HUAWEI on 2020/6/22.
 */
public class BuycarDto {
    private Integer id;

    private Integer productNum;

    private Double productPrice;

    private Date addTime;

    private String url;

    private String desc;

    private String place;

    private String brand;

    private String branddesc;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getBranddesc() {
        return branddesc;
    }

    public void setBranddesc(String branddesc) {
        this.branddesc = branddesc;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("BuycarDto{");
        sb.append("id=").append(id);
        sb.append(", productNum=").append(productNum);
        sb.append(", productPrice=").append(productPrice);
        sb.append(", addTime=").append(addTime);
        sb.append(", url='").append(url).append('\'');
        sb.append(", desc='").append(desc).append('\'');
        sb.append(", place='").append(place).append('\'');
        sb.append(", brand='").append(brand).append('\'');
        sb.append(", branddesc='").append(branddesc).append('\'');
        sb.append('}');
        return sb.toString();
    }
}



